package cn.ricecode.mybatis.entity;

import cn.ricecode.common.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Getter
@Setter
@Table(name = "student")
@ToString
public class Student extends BaseEntity {

    @Id
    @Column(name = "id")
    private Integer id;

    @Column(name = "school_name")
    private String schoolName;

    @Column(name = "student_name")
    private String studentName;

    @Column(name = "course_name")
    private String courseName;

    @Column(name = "score")
    private Integer score;
}